﻿<UserControl x:Class="WpfNavigationPane.UC_HRM_PE_CE_MainWindow"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="900" d:DesignWidth="600" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" xmlns:my="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Input.Toolkit">
    <Grid Background="#FFF9F9F9" Height="900">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="91*" />
            <ColumnDefinition Width="30*" />
            <ColumnDefinition Width="76" />
            <ColumnDefinition Width="403" />
        </Grid.ColumnDefinitions>
        <TabControl Margin="0,60,0,0" Name="tabMain" SelectionChanged="TabControl_SelectionChanged" Grid.ColumnSpan="4">
            <TabItem Name="tab1">
                <TabItem.Header>
                    <StackPanel Orientation="Horizontal">
                        <Image VerticalAlignment="Center" Source="/Abhiruchi_Phase1;component/Images/PersonalProfile.ico" Width="24" />
                        <Label Foreground="#FF373737" FontWeight="Bold">Personal</Label>
                    </StackPanel>
                </TabItem.Header>

                
                    <Grid Height="900" HorizontalAlignment="Stretch" Margin="10,10,0,0" Name="grdPersonal" VerticalAlignment="Top" Width="AUTO"></Grid>
            </TabItem>
            <TabItem >
                <TabItem.Header>
                    <StackPanel Orientation="Horizontal">
                        <Image VerticalAlignment="Center" Source="Images/org.ico" Width="24" />
                        <Label Foreground="#FF373737" FontWeight="Bold">Organizational</Label>
                    </StackPanel>
                </TabItem.Header>
                    <Grid Height="AUTO" HorizontalAlignment="Stretch" Margin="10,10,0,0" Name="grdOrg" VerticalAlignment="Top" Width="AUTO" />
               
            </TabItem>
            <TabItem >
                <TabItem.Header>
                    <StackPanel Orientation="Horizontal">
                        <Image VerticalAlignment="Center" Source="Images/adress.ico" Width="24" />
                        <Label Foreground="#FF533737" FontWeight="Bold">Communication</Label>
                    </StackPanel>
                </TabItem.Header>
                <Grid Height="AUTO" Name="grdComm" Width="Auto" VerticalAlignment="Top"/>
            </TabItem>
        </TabControl>
        <Image Height="35" HorizontalAlignment="Left" Margin="12,9,0,0" Name="image1" Stretch="Fill" VerticalAlignment="Top" Width="35
               " Source="/Abhiruchi_Phase1;component/Images/person.ico" />
        <Label Content="New" Height="39" HorizontalAlignment="Left" Margin="45,20,0,0" Name="lblType" VerticalAlignment="Top" FontSize="18" FontFamily="Segoe UI" FontWeight="Bold" Grid.ColumnSpan="2" />
        <Line   HorizontalAlignment="Stretch" 
        Stretch="Uniform" StrokeThickness="5" X1="0" Y1="0" X2="1" Y2="0" Margin="0,50,0,0" VerticalAlignment="Top" Grid.ColumnSpan="4">
            <Shape.Stroke>
                <LinearGradientBrush StartPoint="0,0" EndPoint="0,1">
                    <GradientStop Color="Transparent" Offset="0" />
                    <GradientStop Color="Silver" Offset="1" />
                    <GradientStop Color="Transparent" Offset="1" />
                </LinearGradientBrush>
            </Shape.Stroke>
        </Line>
        <Label Content="" Height="28" HorizontalAlignment="Left" Margin="45,3,0,0" Name="lblHeaderPlus" VerticalAlignment="Top" FontFamily="Corbel" FontSize="15" Foreground="#FF666362" Width="AUTO" />
        <my:AutoCompleteBox FontFamily="Segoe UI" FontSize="12" Foreground="Black" Height="25" HorizontalAlignment="Right" ItemsSource="{Binding Data}" Margin="0,12,78,0" Name="txtFill" VerticalAlignment="Top" Width="324" Grid.Column="3" LostFocus="txtFill_LostFocus" />
        <Button Content="Search" Height="25" HorizontalAlignment="Right" Margin="0,12,0,0" Name="btnEdit" VerticalAlignment="Top" Width="72" Click="btnEdit_Click" Grid.Column="3" />
        <Grid Height="39" HorizontalAlignment="Right" Margin="170,60,0,0" Name="grdNavButtons" VerticalAlignment="Top" Width="233" Grid.Column="3">
            <telerik:RadButton Content="Save" Height="29" HorizontalAlignment="Left" Margin="161,0,0,0" Name="btnSaveEmp" VerticalAlignment="Top" Width="72"  Click="btnSaveEmp_Click"  />
        </Grid>
    </Grid>
</UserControl>
